@extends('layouts.email')
@section('startScript')
    <link rel="stylesheet" type="text/css" href="{{ asset('/lib/wangEditor/css/wangEditor.min.css') }}">
@endsection
@section('content')
<div class="container">
    <form action="" method="post">
        {{ csrf_field() }}
        <div class="row">
            <div class="col-md-10 col-md-offset-1">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        收件人邮箱 <input type="text" name="toEmail" class="form-control"/>
                        <br/>
                        收件人名称 <input type="text" name="toName" class="form-control"/>
                        <br/>
                       标题 <input type="text" name="title" class="form-control"/>
                        <br/>

                    </div>

                    {{--<div class="panel-body">--}}
                        {{--<textarea style="width: 900px;height: 350px" name="body"></textarea>--}}
                    {{--</div>--}}

                    <div class="form-group">
                        <label>富文本编辑器 <small class="text-red">*</small></label>
                        <textarea class="form-control" style="height:400px;" id="wangEditor" name="body">{{ old('body') }}</textarea>
                    </div>
                </div>

                <button type="submit">发送</button>
            </div>
        </div>
    </form>
</div>
@endsection

@section('endScript')
    @include('scripts.endWangEditor'){{-- 引入CKEditor编辑器相关JS依赖 --}}
@endsection